package jnpf.zcasset.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.permission.service.AuthorizeService;
import jnpf.util.GeneraterSwapUtil;
import jnpf.util.ServletUtil;
import jnpf.util.UserProvider;
import jnpf.zcasset.entity.ZcAssetImageEntity;
import jnpf.zcasset.mapper.ZcAssetImageMapper;
import jnpf.zcasset.model.zcassetinfo.ZcAssetInfoPagination;
import jnpf.zcasset.service.ZcAssetImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 资产管理
 * 版本： V3.2.0
 * 版权： 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期：
 */
@Service
public class ZcAssetImageServiceImpl extends ServiceImpl<ZcAssetImageMapper, ZcAssetImageEntity> implements ZcAssetImageService {

    @Autowired
    private GeneraterSwapUtil generaterSwapUtil;

    @Autowired
    private UserProvider userProvider;

    @Autowired
    private AuthorizeService authorizeService;

    @Override
    public QueryWrapper<ZcAssetImageEntity> getChild(ZcAssetInfoPagination pagination, QueryWrapper<ZcAssetImageEntity> zcAssetImageQueryWrapper) {
        boolean pcPermission = false;
        boolean appPermission = false;
        boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc");
        if (isPc) {
        }

        return zcAssetImageQueryWrapper;
    }
}
